<template>
<div>
    <button @click="controlData">重置</button>
    <!-- <p>{{state.message}}</p> -->
</div>
</template>

<script>
import store from "../store"
export default {
    data(){
        return{
            state:store.state
        }
    },
    methods:{
        controlData(){
            store.reSetMany()
            // this.fruits.many = 0
        }
    }
}
</script>